import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { TransactionPage } from './transaction-page';
import  { VideoPage } from './video/video.page';
const routes: Routes = [
  {
    path: '',
    component: TransactionPage
  },
  {
    path: 'myquestion',
    loadChildren: () => import('./myquestion/myquestion.module').then( m => m.MyquestionPageModule)
  },
  {
    path: 'video',
    component : VideoPage
  },
  {
    path: 'startVideo',
    loadChildren: () => import('./startVideo/startVideo.module').then( m => m.StartVideoPageModule)
  },
  {
    path: 'online',
    loadChildren: () => import('./online/online.module').then( m => m.OnlinePageModule)
  },
  {
    path: 'goflow',
    loadChildren: () => import('./goflow/goflow.module').then( m => m.GoflowPageModule)
  },
  {
    path: 'notayconter',
    loadChildren: () => import('./notayconter/notayconter.module').then( m => m.NotayconterPageModule)
  },
  {
    path: 'applyinfo',
    loadChildren: () => import('./applyinfo/applyinfo.module').then( m => m.ApplyinfoPageModule)
  },
  {
    path: 'confirminfo',
    loadChildren: () => import('./confirminfo/confirminfo.module').then( m => m.ConfirminfoPageModule)
  },
  {
    path: 'updata',
    loadChildren: () => import('./updata/updata.module').then( m => m.UpdataPageModule)
  },
  {
    path: 'topay',
    loadChildren: () => import('./topay/topay.module').then( m => m.TopayPageModule)
  },
  {
    path: 'customer',
    loadChildren: () => import('./customer/customer.module').then( m => m.CustomerPageModule)
  },
  {
    path: 'sanfanshipin',
    loadChildren: () => import('./sanfanshipin/sanfanshipin.module').then( m => m.SanfanshipinPageModule)
  },
  {
    path: 'sanfanvideo',
    loadChildren: () => import('./sanfanvideo/sanfanvideo.module').then( m => m.SanfanvideoPageModule)
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class TransactionPageRoutingModule {}